import 'dart:io';

class FileIOUtils {
  static Future<void> writeString(File file, String content, bool append) async {
    await file.writeAsString(content, mode: append ? FileMode.append : FileMode.write);
  }
}